home *** CD-ROM | disk | FTP | other *** search
/ Champak 108 / jogo-disk-108.iso / Games / goal_2.swf / scripts / DefineButton2_392 / BUTTONCONDACTION on(press).as next >
Text File  |  2010-05-15  |  253b  |  13 lines

  1. on(press){
  2.    pressed = true;
  3.    with(_parent)
  4.    {
  5.       if(clipHolder._currentframe < clipHolder._totalframes)
  6.       {
  7.          clipHolder.gotoAndStop(clipHolder._currentframe + 1);
  8.       }
  9.    }
  10.    pressing = true;
  11.    time = getTimer();
  12. }
  13.